package com.example.demo.mapper;


import com.example.demo.domain.Role;
import com.example.demo.domain.Vo.roleListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<roleListVo> selectRole(Role role);

    void insertRole(Role role);

    void updateRoleById(Role role);

    void delRoleById(@Param("id") String id);
}
